MessageDialogButton Class

A button in a MessageDialog box. There are three possible MessageDialogButtons: ActionButton, CancelButton, and AlternateActionButton.

Events

None

Properties

Cancel

Caption

Default

Visible


Methods

None

More information available in parent classes: Object


Notes

By default, only the ActionButton has its Visible property set to True. To show either of the other buttons in a MessageDialog, set their Visible properties.


Example

See the example for MessageDialog.


See Also

MsgBox function; MessageDialog, Window classes.